package gxnualbert.LambdaDemo.test1;

/**
 * @auther gxnualbert
 * @create 2021-05-30-8:59
 */
public class FilterEmployeeBySalary implements  MyPredicate<Employee>{
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() >4000;
    }
}
